fixup reallocation to "twice the size + 1", instead of "3 times the size".
authorvhanquez@kneesa.uk.xensource.com <vhanquez@kneesa.uk.xensource.com>
Tue, 24 Jan 2006 10:52:52 +0000 (10:52 +0000)
committervhanquez@kneesa.uk.xensource.com <vhanquez@kneesa.uk.xensource.com>
Tue, 24 Jan 2006 10:52:52 +0000 (10:52 +0000)
commit69f3c56296800ab0283a35a599c0bdd0e00443b4
tree7accac8b7198f2cdbf7bf2b2e2b51f712d16aade
parent6ab3d2a42109645b5b3fccc8838afa0fcf9ff4dd
fixup reallocation to "twice the size + 1", instead of "3 times the size".
max *= 2 + 1 <==> max *= 3

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
tools/xenstore/utils.c